powered by
Get option value by subset operator
# S3 method for GlobalOptionsFun [[(x, nm)
the option object returned by set_opt or setGlobalOptions.
set_opt
setGlobalOptions
a single option name.
opt[["a"]] is same as opt("a") or opt$a.
opt[["a"]]
opt("a")
opt$a
# NOT RUN { opt = set_opt(a = 1) opt[["a"]] # }
Run the code above in your browser using DataLab